<ion-view view-title="我的家属" class="xg-ticket-view">
    <ion-nav-buttons side="left">
        <a class="ion-ios-home-outline" href="#/tab/home"></a>
    </ion-nav-buttons>
  <ion-content class="xg-ticket-content">
    <ion-list class="xg-ticket-ul float-fix">
      <ion-item class="item-remove-animate item-avatar item-icon-right xg-ticket-item xg-ticket-item-work row" ng-repeat="relative in relatives" type="item-text-wrap">
        <div class="xg-col-100">
          <div class="float-fix">
            <span class="ion-ios-person-outline"></span>
            <p>姓名：{{relative.name}}   </p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-shuffle">
            </span>
            <p>与本人关系：{{relative.relative}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-android-bookmark">
            </span>
            <p>乘坐次数: {{relative.ticketcount}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-telephone-outline">
            </span>
            <p>联系方式：{{relative.contact}}</p>
          </div>
        </div>
        <ion-option-button class="button-assertive" ng-click="deleteRelative(relative.id)">
          删除家属
        </ion-option-button>
      </ion-item>
      <ion-item class="item-remove-animate item-avatar item-icon-right xg-family-add-btn"  type="item-text-wrap" href="#/add_family">
          <p>添加家属<i class="icon ion-chevron-right icon-accessory"></i></p>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
